-
Notifications
You must be signed in to change notification settings - Fork 173
[CIR][ThroughMLIR] Lower structs and GetMemberOp. #1943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pending minor nits
assert(idx < getNumElements()); | ||
auto members = getMembers(); | ||
|
||
// unsigned offset = 0, recordSize = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove all commented code snippets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove all commented code snippets
Yes, they will be removed soon. I was trying to figure out why the test on windows-2022 failed, but i don't have a windows machine, so I changed some code and pushed it for testing.
and also pending tests passing :) |
Yes, I am working on them. (trying to get a local windows machine now) |
3b639e4
to
5b57d91
Compare
5b57d91
to
9f44627
Compare
Hi, I got stuck on the failed CIR test (Clang CIR Tests/ Test clang-cir / Lit Tests (windows-2022)). I don't have windows 2022 machine, so I tried to build the project on a Windows10 machine with MS toolchain (Visual Studio 17 2022) and run the test. I was hoping to reproduce the failure and do some debugging on that Window machine, but the test passed. Now I am trying to get a window-2022 machine but that will take some time. Can someone give me some clues on this test failure? |
I build the project on Windows Server 2022 Standard Evaluation 21H2, OS build 20348.587, it passed, too. (Visual Studio Community 2022 17.14.16) I can not reproduce this test failure yet. 🤔 |
The PR1565 contains too many conflicts with the main branch.
Got it re-patched to the current main branch.